# -*- coding: utf-8 -*-  
"""  
@author   : Mengnf  
@github   : https://gitee.com/mengnf  
@software : PyCharm   
@file     : routing.py  
@create   : 2024-11-12 23:55  
"""
#
# import os
#
# import django
#
# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'base_api.settings.dev')
# from channels.routing import ProtocolTypeRouter, URLRouter
# from django.urls import re_path
#
# from utils.websocket import TokenAuthMiddleware
# from monitor.consumers import service
#
# django.setup()
# application = ProtocolTypeRouter({
#     'websocket': TokenAuthMiddleware(
#         URLRouter([
#             re_path(r'^monitor/service', service.ResourcesConsumer),
#         ])
#     )
# })
